package com.nulldev.util.java.extendedUI.cSwing;

import java.awt.Graphics2D;

import com.nulldev.util.java.swing.SwingUtil;
import com.nulldev.util.java.swing.canvas.PaintMethod;
import com.nulldev.util.java.swing.canvas.SmoothCanvas;
import com.nulldev.util.java.swing.extSwing.lookandfeel.themes.Theme;
import com.nulldev.util.java.swing.extSwing.lookandfeel.themes.ThemeApplier;
import com.nulldev.util.java.swing.font.FontManager;

public class cSwingTesting {

	public static void main(String[] args) {
		SwingUtil.enableAA();
		SwingUtil.enableJSO();
		
		FontManager.loadSystemSpecificFonts();
		
		/*final cSwing cs = new cSwing();
		final SmoothCanvas sc = new SmoothCanvas() {
			
			@Override
			public void drawCanvas(Graphics2D g2d) {
				g2d.drawString("Hello World!", 15, 15);
			}
		};
		sc.setAAEnabled(true);
		sc.usePaintMethod(PaintMethod.REPAINT);
		cs.add(sc);
		cs.setVisible(true);*/
		
		//final cSwingAbout about = new cSwingAbout();
		final cSwingElementsDemo about = new cSwingElementsDemo();
		ThemeApplier.applyTheme(about);
		SwingUtil.centerFrame(about);
		about.setVisible(true);
		//about.setNativeDecorations(true);
	}

}
